package com.xuetang9.t9.xinhuaxia.beans;

import javax.persistence.*;

@Table(name = "account_security")
public class AccountSecurity {
    /**
     * 自增序列编号
     */
    @Id
    @Column(name = "as_id")
    private Long asId;

    /**
     * 用户ID
     */
    @Column(name = "as_userId")
    private Long asUserid;

    /**
     * 密保问题
     */
    @Column(name = "as_question")
    private String asQuestion;

    /**
     * 密保答案
     */
    @Column(name = "as_answers")
    private String asAnswers;

    /**
     * 获取自增序列编号
     *
     * @return as_id - 自增序列编号
     */
    public Long getAsId() {
        return asId;
    }

    /**
     * 设置自增序列编号
     *
     * @param asId 自增序列编号
     */
    public void setAsId(Long asId) {
        this.asId = asId;
    }

    /**
     * 获取用户ID
     *
     * @return as_userId - 用户ID
     */
    public Long getAsUserid() {
        return asUserid;
    }

    /**
     * 设置用户ID
     *
     * @param asUserid 用户ID
     */
    public void setAsUserid(Long asUserid) {
        this.asUserid = asUserid;
    }

    /**
     * 获取密保问题
     *
     * @return as_question - 密保问题
     */
    public String getAsQuestion() {
        return asQuestion;
    }

    /**
     * 设置密保问题
     *
     * @param asQuestion 密保问题
     */
    public void setAsQuestion(String asQuestion) {
        this.asQuestion = asQuestion;
    }

    /**
     * 获取密保答案
     *
     * @return as_answers - 密保答案
     */
    public String getAsAnswers() {
        return asAnswers;
    }

    /**
     * 设置密保答案
     *
     * @param asAnswers 密保答案
     */
    public void setAsAnswers(String asAnswers) {
        this.asAnswers = asAnswers;
    }
}